//  用户接口

import { ResponseModel } from "@/models/responseModel";
import request from "@/utils/request";
import { RequserMethods } from "@/utils/requestMethods";
import { LoginModel } from "../models/loginModel";
export default class User {
  static login = (params?: LoginModel): Promise<ResponseModel> => {
    return RequserMethods.post("/api/login", params);
  };
  static getUserMenu = (): Promise<ResponseModel> => {
    return RequserMethods.get("/api/getUserMenu");
  };
}
